package com.alks.entity.data.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.time.LocalDateTime;

@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("PC_LASTING_QUALITY_COLLECT")
@ApiModel(value="PcLastingQualityCollect对象", description="")
public class PcLastingQualityCollect {

    @ApiModelProperty("收集时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "Asia/Shanghai")
    private LocalDateTime collectTime;

    private String collectPad;

    @ApiModelProperty("收集人")
    private String collectUser;

    @ApiModelProperty("不良原因编号")
    private Integer qualityType;

    @ApiModelProperty("数量")
    private Integer qty;

    @ApiModelProperty("不良原因")
    private String qualityName;

    private String companyId;

    @ApiModelProperty("收集部门")
    private String deptNo;
}
